package com.powernode.springboot.service;

import com.powernode.springboot.bean.Vip;
import com.powernode.springboot.repository.VipMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VipServiceImpl implements VipService {
    @Autowired
    private VipMapper vipMapper;

    @Override
    public Vip findByCardNum(String cardNum) {
        return vipMapper.findByCardNum(cardNum);
    }
}
